import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/emergency_record_entity.g.dart';
export 'package:enterprise_v6_app/generated/json/emergency_record_entity.g.dart';

/// 应急预案-记录实体
@JsonSerializable()
class EmergencyRecordEntity {

	EmergencyRecordEntity();

	factory EmergencyRecordEntity.fromJson(Map<String, dynamic> json) => $EmergencyRecordEntityFromJson(json);
	late String amendmentDate = '';
	late String amendmentInfo = '';
	late String amendmentReason = '';
	late String companyCode = '';
	late String createBy = '';
	late String createById = '';
	late String createDate = '';
	late String deleted = '';
	late String emergencyId = '';
	late List<String> emergencyIdList = [];
	late String estimateDate = '';
	late String estimatePerson = '';
	late String estimateReportUrl = '';
	late String estimateResult = '';
	late String filingsDate = '';
	late String filingsDepartment = '';
	late String filingsDepartmentNature = '';
	late String filingsDepartmentNatureName = '';
	late String filingsName = '';
	late String id = '';
	late String planFilingApplyForUrl = '';
	late String planFilingFileUrl = '';
	late int recordType = 0;
	late String updateBy = '';
	late String updateById = '';
	late String updateDate = '';
	late String validPeriod = '';
	late String validPeriodName = '';

	Map<String, dynamic> toJson() => $EmergencyRecordEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
